// 
const {DataTypes, db } = require("../db");
db.define('vCard', {
id: {type: DataTypes.INTEGER, primaryKey: true, autoIncrement: true,comment:'表自增ID'},
tenantId:{type: DataTypes.INTEGER,allowNull:false,comment:''}, 
transType:{type: DataTypes.INTEGER,comment:''}, 
transTypeName:{type: DataTypes.STRING(50),comment:''}, 
billType:{type: DataTypes.STRING(50),comment:''}, 
billState:{type: DataTypes.STRING(20),allowNull:false,comment:''}, 
billNo:{type: DataTypes.STRING(128),allowNull:false,comment:''}, 
billDate:{type: DataTypes.STRING(10),allowNull:false,comment:''}, 
buId:{type: DataTypes.INTEGER,comment:''}, 
remark:{type: DataTypes.STRING(1000),comment:''}, 
buName:{type: DataTypes.STRING(150),allowNull:false,comment:''}, 
cbyName:{type: DataTypes.STRING(128),comment:''}, 

}, {
    tableName: 'v_card',
    timestamps: false,
    comment: '',
    
});